package com.well.register.console.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.util.Date;

/**
 * <p>
 * Job
 * </p>
 * @author weedo
 * @since 2022/8/7
 */

@Data
@TableName("well_job")
public class Job {

    @TableId
    private Integer id;

    @TableField("job_name")
    private String jobName;

    @TableField("cron_expression")
    private String cronExpression;

    /* ns, group, server*/
    @TableField("server_info")
    private String serverInfo;

    @TableField("create_time")
    private Date createTime;

    @TableField("update_time")
    private Date updateTime = new Date();

    @TableField("status")
    private Integer status;

    @TableField("thread_key")
    private Integer threadKey;
}
